package spring.transaction;

public class NamedThreadLocal<T> extends ThreadLocal<T> {

    private final String name;

    public NamedThreadLocal(String name) {
        assert name != null;
        this.name = name;
    }

    public String toString() {
        return this.name;
    }

}
